package com.qmctl.rest.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.qmctl.rest.bean.entryorderconfirm.BatchClazz;

import java.io.Serializable;
@SuppressWarnings("serial")
@Entity
@Table(name="tEntryOrderBatchs",schema="")
public class EntryOrderBatchs implements Serializable{
  @Id
  private String orderBatchId;
  private String batchCode;
  private String productDate;
  private String expireDate;
  private String produceCode;
  private String inventoryType;
  private long actualQty;
  private String remark;
  private String qrCode;
  private String orderLineId;
  public EntryOrderBatchs(){
  }
  public EntryOrderBatchs(BatchClazz BeanClazz){
    orderBatchId = "";
    batchCode = BeanClazz.getBatchCode();
    productDate = BeanClazz.getProductDate();
    expireDate = BeanClazz.getExpireDate();
    produceCode = BeanClazz.getProduceCode();
    inventoryType = "";
    actualQty = BeanClazz.getActualQty();
    remark = "";
    qrCode = "";
    orderLineId = "";
  }
  public String getOrderBatchId(){
    return orderBatchId;
  }
  public void setOrderBatchId(String sOrderBatchId){
    orderBatchId = sOrderBatchId;
  }
  public String getBatchCode(){
    return batchCode;
  }
  public void setBatchCode(String sBatchCode){
    batchCode = sBatchCode;
  }
  public String getProductDate(){
    return productDate;
  }
  public void setProductDate(String sProductDate){
    productDate = sProductDate;
  }
  public String getExpireDate(){
    return expireDate;
  }
  public void setExpireDate(String sExpireDate){
    expireDate = sExpireDate;
  }
  public String getProduceCode(){
    return produceCode;
  }
  public void setProduceCode(String sProduceCode){
    produceCode = sProduceCode;
  }
  public String getInventoryType(){
    return inventoryType;
  }
  public void setInventoryType(String sInventoryType){
    inventoryType = sInventoryType;
  }
  public long getActualQty(){
    return actualQty;
  }
  public void setActualQty(long iActualQty){
    actualQty= iActualQty;
  }
  public String getRemark(){
    return remark;
  }
  public void setRemark(String sRemark){
    remark = sRemark;
  }
  public String getQrCode(){
    return qrCode;
  }
  public void setQrCode(String sQrCode){
    qrCode = sQrCode;
  }
  public String getOrderLineId(){
    return orderLineId;
  }
  public void setOrderLineId(String sOrderLineId){
    orderLineId = sOrderLineId;
  }
}
